/*     */ package com.umeng.newxp.view;
/*     */ 
/*     */ import android.content.Context;
/*     */ import android.content.Intent;
/*     */ import android.graphics.Bitmap;
/*     */ import android.net.Uri;
/*     */ import android.webkit.WebView;
/*     */ import android.webkit.WebViewClient;
/*     */ import android.widget.Toast;
/*     */ import com.umeng.common.Log;
/*     */ 
/*     */ class V extends WebViewClient
/*     */ {
/*     */   V(S paramS, WebView paramWebView)
/*     */   {
/*     */   }
/*     */ 
/*     */   public boolean shouldOverrideUrlLoading(WebView paramWebView, String paramString)
/*     */   {
/* 137 */     Log.c(S.b(), "OverrideUrl: " + paramString);
/* 138 */     Intent localIntent = new Intent("android.intent.action.VIEW", Uri.parse(paramString));
/* 139 */     S.d(this.a).startActivity(localIntent);
/* 140 */     return true;
/*     */   }
/*     */ 
/*     */   public void onPageStarted(WebView paramWebView, String paramString, Bitmap paramBitmap)
/*     */   {
/* 145 */     super.onPageStarted(paramWebView, paramString, paramBitmap);
/*     */   }
/*     */ 
/*     */   public void onPageFinished(WebView paramWebView, String paramString)
/*     */   {
/* 150 */     if (!S.e(this.a)) {
/* 151 */       this.a.a(this.b);
/* 152 */       S.a(this.a, true);
/*     */     }
/*     */   }
/*     */ 
/*     */   public void onReceivedError(WebView paramWebView, int paramInt, String paramString1, String paramString2)
/*     */   {
/* 159 */     Toast.makeText(S.d(this.a), "Oh no! " + paramString1, 0).show();
/* 160 */     super.onReceivedError(paramWebView, paramInt, paramString1, paramString2);
/*     */   }
/*     */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.newxp.view.V
 * JD-Core Version:    0.6.2
 */